//做一些公用的类型声明
import type {CSSProperties, PropsWithChildren} from 'react'
export interface CommonComponentProps extends PropsWithChildren {
    id: number
    name: string
    styles?:CSSProperties//组件的样式
    [key:string]:any//外加的任意属性都为any
}